package com.imooc.common.strategy;

public enum RefelDbTypeEnum {
    MYSQL_DRIVER("mysql","com.imooc.common.strategy.type.strategy.impl.MySqlStrategy"),

    ORCAL_DRIVER("orcal","com.imooc.common.strategy.type.strategy.impl.OrcalStrategy"),

    SQLSERVER_DRIVER("sqlserver","com.imooc.common.strategy.type.strategy.impl.SqlServerStrategy"),

    HBASE_DRIVER("hbase","com.imooc.common.strategy.type.strategy.impl.HbaseStrategy"),

    MONGO_DRIVER("mogon","com.imooc.common.strategy.type.strategy.impl.MongoStrategy"),
    ;

    private String type;
    private String clazz;

    private RefelDbTypeEnum(String type,String clazz){
        this.type=type;
        this.clazz=clazz;
    }

    public String type() {
        return type;
    }

    public String clazz(){
        return  clazz;
    }


}
